﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;

namespace SmartHotel
{   
    public class SmartHotel_HouseTable : FullAuditedAggregateRoot<int>
    {
        /// <summary>        
        ///房间名称
        /// </summary>
        public string HouseName{ get; set; }
        /// <summary>        
        ///门市价
        /// </summary>
        public decimal HousePrice{ get; set; }
        /// <summary>
        /// 是否添加押金
        /// </summary>
        public bool IsHouseSecurity { get; set; }=false;
        /// <summary>        
        ///押金
        /// </summary>
        public decimal HouseSecurity{ get; set; }
        /// <summary>        
        ///房型面积
        /// </summary>
        public string HouseArea{ get; set; }
        /// <summary>        
        ///可住人数
        /// </summary>
        public int HousePeople{ get; set; }
        /// <summary>        
        ///房型价绍
        /// </summary>
        public string RoomShao{ get; set; }
        /// <summary>        
        ///房型图片上传
        /// </summary>
        public string HousePicture{ get; set; }
        /// <summary>        
        ///房型标签
        /// </summary>
        public int HouseType{ get; set; }
        /// <summary>        
        ///房间数量
        /// </summary>
        public int RoomNumber{ get; set; }
        /// <summary>        
        ///是否加床
        /// </summary>
        public bool ExtraBed{ get; set; }
        /// <summary>        
        ///加床数量
        /// </summary>
        public int ExtraBedNumber{ get; set; }
        /// <summary>
        /// 排序字段
        /// </summary>
        public int GouseRank { get; set; }

        [NotMapped]
        public int RoomNumInt { get; set; }
        /// <summary>
        /// 均价
        /// </summary>
        public decimal AveragePrice { get; set; }
    }
 }